﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CUIT.GraduationProject.ToolBoxSystem.ToolBoxLib;

namespace CUIT.GraduationProject.ToolBoxSystem.Platforms
{
    public partial class MainPlatform : Form
    {
        public static ToolBox g_tb; // 工具箱
        public MainPlatform()
        {
            InitializeComponent();
            g_tb = new ToolBox(new Size(200, ClientRectangle.Height - 0), 22, null);
            g_tb.Location = new Point(0, 0);

            //g_tb.SetClickDelegate(new ToolBox.OnToolBoxClick(OnTBClick));
            //g_tb.SetTabChangedDelegate(new ToolBox.OnToolBoxTabChanged(OnTBTabChanged));
            //g_tb.SetStateChangedDelegate(new ToolBox.OnToolBoxStateChanged(OnTBStateChanged));
            g_tb.Show();
            this.Controls.Add(g_tb);
            g_tb.BringToFront();
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
        }
    }
}
